from data import items
from objects import controls
from pygame.locals import *

def assignControls():
        print "keyboard is now controlling heibert"
        heibert=items.heibert
        heibert.controls = controls.controls(K_SPACE,K_UP,K_DOWN,K_LEFT,K_RIGHT)
        heidi=items.heidi
        heidi.controls = controls.controls(K_a, K_u, K_d, K_l, K_r)
        return items